<template>
  <mci-button
    icon="mci-icon-add"
    type="primary"
    link
    @click="add"
  >
    {{ props.btnText }}
  </mci-button>
</template>

<script lang="ts" setup>
import { MciButton } from '@/components/base';

const props = defineProps<{
  btnText: string;
}>();
const emit = defineEmits<{
  (e: 'add'): void;
}>();

const add = () => {
  emit('add');
};

</script>
